package org.gpswalker.sys.abstractions;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.gpswalker.sys.server.misc.ServletInOut;

public abstract class AbstractSioServlet extends HttpServlet {
    private static final long serialVersionUID = 4966853377090252190L;

    protected ServletInOut sio;
    private boolean sioWasMade = false;
    
	protected void makeSio(HttpServletRequest req, HttpServletResponse res) {
		sio = new ServletInOut(req, res);
		sioWasMade = true;
	}

	protected boolean sioWasMade() {
	    return sioWasMade;
	}

}
